import Vue from 'vue'
import Router from 'vue-router'
import entryPage from '@/pages/entry'
import listPage from '@/pages/icifList'
import BranchVenue from '@/pages/BranchVenue'
import QueryByTicket from '@/pages/QueryByTicket'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'entryPage',
      component: entryPage,
      meta: {
        title: '信息提交'
      }
    },
    {
      path: '/list',
      name: 'listPage',
      component: listPage,
      meta: {
        title: '选择场次'
      }
    },{
      path:'/ticket/:st/:nst',
      name:'QueryByTicket',
      component:QueryByTicket,
      meta:{
        title:'秀场预约'
      }
    },{
      path: '/branch/:st/:nst/:id/:phone/:date',
      name: 'BranchVenue',
      component: BranchVenue,
      meta: {
        title: '选择分会场'
      }
    }
  ]
})
